#pragma once
#ifndef GLOBAL_H_
#define GLOBAL_H_

#include "LinkedList.h"
class CEntity;
class CPlayer;

extern LPDIRECT3DDEVICE9 g_pD3DDevice;
extern short g_BlendType;
extern Vector2 CAMERA;
extern Vector2 MOUSE;
extern POINT g_cursorPos;
extern ULONG WINDOW_WIDTH;
extern ULONG WINDOW_HEIGHT;
extern UINT LEVEL_WIDTH;
extern UINT LEVEL_HEIGHT;
extern Vector2 WINDOW_CENTER;
extern float GRAVITY;
extern bool g_bSortList;
//extern CEntityList *EntList;
//extern LinkedList<CConstraint> *CList;
extern Sprites *g_pSpriteList;
extern Fonts* g_pFontList;
extern CEntityList* g_pEntList;
extern CSprite* g_pCursor;
extern LPD3DXSPRITE g_pDrawSprite;
extern LPD3DXLINE g_pDrawLine;
extern Vector2 linepts[2];
extern float Cos[360];
extern float Sin[360];
extern long long ENTITIES;

extern CPlayer* g_pPlayer;

#endif